package com.wise.mall.auth.service;

import com.wise.mall.common.domain.response.UserDto;
import com.wise.mall.common.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author shiweinan
 */
@FeignClient("wmall-admin")
public interface UmsAdminService {


    @GetMapping("/admin/loadByUsername")
    Result<UserDto> loadUserByUsername(@RequestParam String username);
}
